from rest_framework import serializers
from .models import Activity


class ActivityListSerializers(serializers.ModelSerializer):
    class Meta:
        model = Activity
        fields = ['id', 'name', 'cover', 'city', 'start_time', 'status']


class ActivityDetailSerializers(serializers.ModelSerializer):
    class Meta:
        model = Activity
        fields = "__all__"

